package org.dxy.domain.exception;

import org.dxy.types.exception.DomainException;

import static org.dxy.types.enums.ErrorCodeEnum.PRODUCTION_LINE_NOT_FOUND;

public class ProductionLineNotFoundException extends DomainException {

  public ProductionLineNotFoundException(Long productionLineId) {
    super(PRODUCTION_LINE_NOT_FOUND.getCode(), "产线不存在，ID: " + productionLineId);
  }
}
